- onRender
void onRender()
Undocumented in source. Be warned that the author may not have intended to support it.
- setAlign
void setAlign(HipTextAlign horizontal, HipTextAlign vertical)
Undocumented in source. Be warned that the author may not have intended to support it.
- setBackgroundRenderer
void setBackgroundRenderer(IWidgetRenderer bkgRenderer)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSize
void setSize(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
- text
string text(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
- text
string text()
Undocumented in source. Be warned that the author may not have intended to support it.
- wordWrap
bool wordWrap()
Undocumented in source. Be warned that the author may not have intended to support it.
- wordWrap
bool wordWrap(bool bWordWrap)
Undocumented in source. Be warned that the author may not have intended to support it.
- Bounds
struct Bounds
Undocumented in source.
- Transform
struct Transform
Undocumented in source.
- width
int width;
- height
int height;
Undocumented in source.
- parent
Widget parent;
Undocumented in source.
- children
Widget[] children;
Undocumented in source.
- worldTransform
Transform worldTransform;
Undocumented in source.
- localTransform
Transform localTransform;
Undocumented in source.
- visible
bool visible;
Undocumented in source.
- isDirty
bool isDirty;
Undocumented in source.
- getWorldBounds
Bounds getWorldBounds()
Undocumented in source. Be warned that the author may not have intended to support it.
- findWidgetAt
Widget findWidgetAt(float[2] pos)
Undocumented in source. Be warned that the author may not have intended to support it.
- findWidgetAt
Widget findWidgetAt(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- getLocalBounds
Bounds getLocalBounds()
Undocumented in source. Be warned that the author may not have intended to support it.
- setPosition
void setPosition(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- addChild
void addChild(Widget[] widgets)
Undocumented in source. Be warned that the author may not have intended to support it.
- addChild
void addChild(Widget w)
Undocumented in source. Be warned that the author may not have intended to support it.
- setParent
void setParent(Widget w)
Undocumented in source. Be warned that the author may not have intended to support it.
- onFocusEnter
void onFocusEnter()
Undocumented in source. Be warned that the author may not have intended to support it.
- onFocusExit
void onFocusExit()
Undocumented in source. Be warned that the author may not have intended to support it.
- onScroll
void onScroll(float[3] currentScroll, float[3] lastScroll)
Undocumented in source. Be warned that the author may not have intended to support it.
- onMouseEnter
void onMouseEnter()
Executed the first time the mouse enters in the widget's boundaries
- onMouseDown
void onMouseDown()
Executed when the mouse goes down inside the widget
- onMouseClick
void onMouseClick()
Executed when both a mousedown and mouseup is executed when mouse is over this widget
- onMouseUp
void onMouseUp()
If onMouseDown was executed, onMouseUp will be called even if the mouse is not inside the widget
- onMouseMove
void onMouseMove()
Undocumented in source. Be warned that the author may not have intended to support it.
- onDragStart
void onDragStart(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- onDragged
void onDragged(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- onDragEnd
void onDragEnd()
Undocumented in source. Be warned that the author may not have intended to support it.
- onDropReceived
bool onDropReceived(Widget w)
Returns whether it accepted the receive
- onMouseExit
void onMouseExit()
Undocumented in source. Be warned that the author may not have intended to support it.
- isDraggable
bool isDraggable;
Undocumented in source.
- isFocused
bool isFocused;
Undocumented in source.
- update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
- preRender
void preRender()
Undocumented in source. Be warned that the author may not have intended to support it.
- render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.
- onRender
void onRender()
Undocumented in source. Be warned that the author may not have intended to support it.